<?php
class Zend_View_Helper_Widget_HomeImageSwitcher extends Zend_View_Helper_Abstract{
    public function widget_HomeImageSwitcher($image, $url, $alt, $target='self'){
        return $this->view->partial('partials/home/image-switcher.phtml', array(
            'image'  => 'images/rotator/'.$image,
            'url'    => $url,
            'target' => $target,
            'alt'    => $alt
        ));
    }
}